package com.reger.l2cache.annotation;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

import com.reger.l2cache.autoconfig.L2CacheAutoConfig;

@Target(TYPE)
@Retention(RUNTIME)
@EnableAspectJAutoProxy
@Import({L2CacheRegistrar.class,L2CacheAutoConfig.class})
public @interface EnableL2Cache {
 
	boolean proxyTargetClass() default false;

	boolean exposeProxy() default false;
}
